package me.zhengjie.modules.protocol.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author wutong
 * @date 2024-12-06
 * @description 活动任务量
 */

@Data
@TableName("oms_agreement_product_act_task")
public class AgreementProductActTask extends AgreementProductPopTask implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "ID", hidden = true)
    private Long id;

    @ApiModelProperty(value = "协议ID")
    private Long agreementId;

    private Long productId;

    @ApiModelProperty(value = "活动类型")
    private String type;

    @ApiModelProperty(value = "场次")
    private String total;

    @ApiModelProperty(value = "开始日期")
    private Date startDate;

    @ApiModelProperty(value = "结束日期")
    private Date endDate;

    @ApiModelProperty(value = "任务总量")
    private BigDecimal taskAmount;

}
